package org.example.Service;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.example.entity.Student;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface StudentsService {
   void insert(Student student);

    void delete (Integer id);

    void update (Student student);

    Student getid (Integer id);

    List<Student> getall();
}
